package com.xdwanj.action;

public class Main {
    public static void main(String[] args) {
        String str = new String[]{"i", "j", "p"}[1] = "2";

        System.out.println("str = " + str);
        //Uncaught SyntaxError: missing ) after argument list
    }
}

class Person {

    int age;
    String name;

    public void sayHello() {
        System.out.println("你好我是人类");
    }
}

class Student extends Person {

    @Override
    public void sayHello() {
//        super.sayHello();
        System.out.println("我是学生");
    }
}